{% extends "base.html" %}

{% block title %}Matrix{% endblock %}

{% block content %}

<h1>Matrix</h1>
	<table>
	<thead>
	<tr>
	<th scope="col">
	username
	</th>
	<th scope="col">
	date
	</th>
	<th scope="col">
	pnum
	</th>
	<th scope="col">
	light
	</th>
	<th scope="col">
	temp
	</th>
	<th scope="col">
	watt
	</th>
	<th scope="col">
	timestamp
	</th>
	</tr>
	</thead>
	<tbody>
	<tr>
		{% for haco in object_list %}
		<td>
		{{ haco.username }}
		</td>
		<td>
		{{ haco.date }}
		</td>
		<td>
		{{ haco.pnum }}
		</td>
		<td>
		{{ haco.light }}
		</td>
		<td>
		{{ haco.temp }}
		</td>
		<td>
		{{ haco.watt }}
		</td>
		<td>
		{{ haco.timestamp }}
		</td>
		</tr>
		{% if not forloop.last %}
		{% endif %}
		{% endfor %}
	</tbody>
	</table>
    </div>
</ul>
{% endblock content %}

